home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (4th Edition) / The Business Master - 4th Edition.iso / files / cataging / sprthock / install.dat < prev    next >
Encoding:
INSTALL Professional project  |  1993-03-01  |  2.8 KB  |  150 lines

  1. @DefineProject
  2. @Name="Sportcheck Hockey Edition"
  3. @Version="1993"
  4. @Subdir="\\SPORTC\\"
  5. @OutDrive       = C
  6. @EndProject
  7.  
  8. @Display
  9. @Cls
  10.  
  11.     This program will install the @Version @Name
  12.     on your computer and verify the integrity of the distribution
  13.     disk(s).  You may press the [Esc] key at any time to abort the
  14.     installation.  INSTALL will ask you several questions about your
  15.     computer hardware and then copy @Name to the
  16.     appropriate disk drive.
  17.  
  18.     Each question has a default answer.  If the default answer is
  19.     correct, press the ENTER key in response to the question.
  20.     Otherwise, type the answer and then press the ENTER key.
  21.  
  22.     If you make a mistake while typing, press the BACKSPACE key
  23.     and then retype the answer.
  24.  
  25. @Pause
  26. @EndDisplay
  27.  
  28. @GetOutDrive
  29. @Cls
  30.  
  31.     On which disk drive do you wish to install @Name?
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45. @EndOutDrive
  46.  
  47. @If(@DiskSize @OutDrive > 800K)
  48.  
  49. @Display
  50. @Cls
  51.  
  52.  
  53. @IF(@DiskFree @OutDrive < 800K)
  54.     The selected output disk drive only has
  55.     @DiskFree @OutDrive bytes available.  This program
  56.     requires approximately 800000 bytes
  57.     available to install.
  58.  
  59.  
  60.  
  61.  
  62.  
  63. @Pause
  64. @Abort
  65. @EndIf
  66.  
  67. @EndDisplay
  68.  
  69.  
  70. @GetSubdir
  71. @Cls
  72.     Now you need to specify the disk destination subdirectory.  The
  73.     subdirectory is the location on your disk where the program
  74.     will be installed.  If the subdirectory that you specify does
  75.     not currently exist, it will be created for you.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84. @Prompt = "Which subdirectory ([Enter] = @Subdir) ?"
  85. @EndSubdir
  86.  
  87. @If (@Exists "@OutDrive:\\@Subdir\\HKCARDS.DBF")
  88. @Display
  89.  
  90.     ***  WARNING  ***
  91.  
  92.     A previous version of Sportcheck Hockey Edition appears to be
  93.     already installed in the specified disk subdirectory.  Continuing
  94.     with this installation will overwrite the existing version and
  95.     any card data which had been previously entered will be lost.
  96.  
  97.     If you do not wish to continue with this installation and overwrite
  98.     the existing version of the Sportcheck program press ESCAPE at this
  99.     time.  Otherwise, press any other key to continue.
  100.  
  101. @Pause
  102. @EndDisplay
  103. @EndIf
  104.  
  105. @DefineDisk
  106. @Label = "Installation Disk 1"
  107. @BeginLib HKFILES.LIB
  108. @File SPORTC.EXE
  109. @File SPORTCH.EXE
  110. @File SPORTC.CFG
  111. @File SPORTCH.TOT
  112. @File ORDER.DOC
  113. @File MANUAL.DOC
  114. @File HKCARDS.DBF
  115. @File HKCARDC.DBF
  116. @File HKVAL1.DBF
  117. @File HKVALC.DBF
  118. @File HKPLAYER.DBF
  119. @File HKSETS.DBF
  120. @EndLib
  121. @EndDisk
  122.  
  123. @Else
  124. @Display
  125. @Cls
  126.  
  127.     There is not enough free disk space available on drive @OutDrive:
  128.     to install the @Version @Name.  The selected
  129.     output disk drive has @DiskFree @OutDrive bytes available.  This program
  130.     requires approximately 800000 bytes available to install.
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140. @Pause
  141. @EndDisplay
  142. @Abort
  143. @EndIf
  144.  
  145.  
  146. @Finish
  147. @Cls
  148. @ChDrive @OutDrive
  149. @ChDir "@Subdir"
  150. @EndFinish